﻿using System;
using System.Collections.Generic;

namespace Platform.Data.Entities.MySql;

public partial class SysModule
{
    /// <summary>
    /// 模块id
    /// </summary>
    public string ModuleId { get; set; } = null!;

    /// <summary>
    /// 模块名称
    /// </summary>
    public string ModuleName { get; set; } = null!;

    /// <summary>
    /// 所属应用
    /// </summary>
    public string AppId { get; set; } = null!;

    /// <summary>
    /// 模块路径(相对路径)
    /// </summary>
    public string? ModuleUri { get; set; }

    /// <summary>
    /// 是否为公共模块(公共模块无需鉴权)
    /// </summary>
    public bool IsPublic { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public bool Enabled { get; set; }

    /// <summary>
    /// 模块图标
    /// </summary>
    public string? Icon { get; set; }

    /// <summary>
    /// 静态参数
    /// </summary>
    public string? QueryString { get; set; }

    /// <summary>
    /// 打开模式
    /// </summary>
    public string OpenMode { get; set; } = null!;

    public DateTime CreateTime { get; set; }

    public DateTime UpdateTime { get; set; }
}
